<?php

namespace application\entity\db;

/**
 * @document(site)
 */
class Site {

    /**
     * @id
     * @col(name=id, type=int, identity=true)
     * @comment(Mã)
     */
    public $id;

    /**
     * @col(name=domain, type=varchar, length=220, index=unique)
     * @comment(Domain website bao gồm cả http hoặc https)
     */
    public $domain;

    /**
     * @col(name=email, type=varchar, length=220, index=index)
     * @comment(Địa chỉ email người tạo)
     */
    public $email;

    /**
     * @col(name=nofollow, type=boolean)
     * @comment(Link nofollow true)
     */
    public $nofollow;

}
